package com.quicks.beauty.core.dao;

import com.quicks.beauty.core.entity.CompanyExchange;
import com.quicks.beauty.core.entity.CompanyExchangeExample;
import java.util.List;

import com.quicks.beauty.core.vo.ComExchangeVO;
import org.apache.ibatis.annotations.Param;

public interface CompanyExchangeMapper {
    int countByExample(CompanyExchangeExample example);

    int deleteByExample(CompanyExchangeExample example);

    int deleteByPrimaryKey(String id);

    int insert(CompanyExchange record);

    int insertSelective(CompanyExchange record);

    List<CompanyExchange> selectByExample(CompanyExchangeExample example);

    CompanyExchange selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CompanyExchange record, @Param("example") CompanyExchangeExample example);

    int updateByExample(@Param("record") CompanyExchange record, @Param("example") CompanyExchangeExample example);

    int updateByPrimaryKeySelective(CompanyExchange record);

    int updateByPrimaryKey(CompanyExchange record);

    List<ComExchangeVO> getLatestEx();
}